package com.dfrz.household.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_serverperson")
public class ServerPerson {
    @TableId(type = IdType.AUTO)
    private Integer serid;

    private String sername;

    private Integer cid;

    private Integer age;

    private String sex;

    private String phone;

    private Integer serverTimes;

    private Integer queryTimes;

    private Integer evaluations;

    private String imgurl;

    private String address;

    private String serverarea;

    @TableField(exist = false)
    private List <Skill> skill;

    @TableField(exist = false)
    private List <Company> companies;

}